<?php
$this->pageTitle=$data->metaTitle;
$this->breadcrumbs[]=$data->title;
$this->metaTags=array(
    'description'=>$data->metaDescription,
    'keywords'=>$data->metaKeywords,
);
?>
<div class="news-detail">
<h1><?php echo $data->title; ?></h1>

<div class="date">
    <?php echo Lang::t('promotion.page.lbl.posted.date'); ?>: <?php echo date('d-M-Y', $data->postedDate); ?>
    <?php echo Lang::t('promotion.page.lbl.author'); ?>: <?php echo $data->authorName; ?>
</div>

<?php $this->widget('ext.widgets.ELike.LikeButtonWidget', array('model' => $data, 'count'=>$data->totalLike)); ?> . 
viewed: <?php echo $data->totalView; ?>

<?php 
$this->widget('ext.widgets.EImageSlider.ImageSliderWidget', array(
    'model'=>$data, 
    'type'=>'galleria', 
    'htmlOptions'=>array(
        'style'=>''
    ),
)); 
?>

<p>
<?php echo $data->content; ?>
</p>

<p>
<?php $this->widget('ext.widgets.EComment.CommentWidget', array('model'=>$data)); ?>
</p>
</div>